package com.bo.baby2.dao;

import com.bo.baby2.entity.LogingLogGet;
import com.bo.baby2.entity.TRecharge;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
* @program: baby2_p2p
*
* @description: ${description}
*
* @author:波
*
* @create: 2020-07-14 21:18
**/


public interface TRechargeMapper {
    int deleteByPrimaryKey(String id);

    int insert(TRecharge record);

    int insertSelective(TRecharge record);

    TRecharge selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(TRecharge record);

    int updateByPrimaryKey(TRecharge record);

    /**
     * 查询
     * @return
     */
    List<TRecharge> getRecharges(LogingLogGet logingLogGet, @Param("pageNo") Integer pageNo, @Param("pageSize") Integer pageSize);

    int getCount(LogingLogGet logingLogGet);
}